var a = 1
function aa() {
     a = 2;
    console.log('func a')
    console.log(a)
}

console.log(aa())